package com.leather.market.receiver;

import com.leather.common.toolkits.QinNiuKit;
import com.leather.market.config.MQConfig;
import org.springframework.amqp.rabbit.annotation.RabbitListener;
import org.springframework.stereotype.Service;

@Service
public class ImageImageReceiver {

    @RabbitListener(queues = MQConfig.QUAN_QUENE)
    public void receive(String message) {
        QinNiuKit.deleteImage(message);
    }
}
